Create
This endpoint allows integrators register their users into MeetingDoctors' platform in order to authenticate them to the SDKs.
Request
POST https://customer.staging.meetingdoctors.com/api/v3/pendingCompanyUsers
Headers
Name | Value |
---|---|
apiKey | Integration identifier provided by MeetingDoctors |
secretKey | Security key provided by MeetingDoctors to securize server-to-server communications |
Content-Type | application/json |
Accept | application/json |
Request body
Parameters
Name | Required | Type | Value |
---|---|---|---|
token | True | String | Your user unique identifier |
status | True | Numeric | 0: Free, 2: Premium, 3: No Access |
email | False | String | A valid email |
nid_number | False | String | A valid DNI or NIE |
firstname | False | String | User's first name |
lastname | False | String | User's last name |
gender | False | Numeric | 0: Male, 1: Female |
birthdate | False | Date | ISO8601 Date (YYYY-MM-DD) |
mobile_phone | False | String | Mobile phone number without prefix (max 20 chars) |
description | False | String | Extra user information provided by integrator |
has_video_call | False | Numeric | 0: Disabled, 1: Enabled |
has_video_call_1to1 | False | Numeric | 0: Disabled, 1: Enabled |
company_group_code | False | String | Code key that will be provided by MeetingDoctors |
coverage_name | False | String | User's specific coverage plan |
contract_number | False | String | User's unique identifier of the policy |
Example
{
"token": "12345678Z",
"status": 2,
"email": "soporte@meetingdoctors.com",
"nid_number": "12345678Z",
"firstname": "Soporte",
"lastname": "MeetingDoctors",
"gender": 0,
"birthdate": "1990-01-01",
"mobile_phone": "666223344",
"description": "This is a description",
"has_video_call": 1,
"has_video_call_1to1": 1,
"company_group_code": "group_code",
"coverage_name": "coverage name",
"contract_number": "0987654321"
}